﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Main.Master" AutoEventWireup="true"
    CodeBehind="Login.aspx.cs" Inherits="AUV5.Web.Pages.Login" ClientIDMode="Static" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/!js/validate.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $('#form1').validate({
                errorLabelContainer: $(".errorinfo"),
                wrapper: 'p'
            });

            $('#ibtnLogin').click(function () {
                return $('#form1').valid();
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p class="logintxt">
        登录</p>
    <p class="goreg">
        还没有注册？<a href="Register.aspx">注册&raquo;</a>
    </p>
    <div class="fl login_left">
        <div class="login_bar">
            <div class="login">
                登录到唯5网
            </div>
            <p class="errorinfo hide">
            </p>
            <p class="addinfo">
                请填写以下信息</p>
            <div class="login">
                <p>
                    <label>
                        邮箱或用户名:</label>
                    <asp:TextBox ID="TextBoxUserName" runat="server" class="logininput required" title="用户名不能为空！"></asp:TextBox>
                    <span>请输入注册时的邮箱或用户名。</span>
                </p>
                <p>
                    <label>
                        密 码:</label>
                    <asp:TextBox ID="TextBoxPassword" runat="server" class="logininput required" title="密码不能为空！"
                        TextMode="Password" />
                    <span>您注册的密码。</span>
                </p>
                <%--<p>
                    <label>
                        验证码:
                    </label>
                    <span class="fl block">
                        <asp:TextBox class="logininput required" title="验证码不能为空！" ID="txbCode" runat="server"></asp:TextBox><span></span></span>
                        
                    <span class="code">
                        <img id="imgIdentfyCode" src="../Handler/MathValidateCodeHandler.ashx" title="换一张"
                            alt="点击获取" /></span> <span class="code"><a href="javascript:void(0);" id="aNext">算不出来？</a></span>
                </p>--%>
                <p>
                    <span class="forget"><a href="Password.aspx">忘记密码</a>
                        <%--<asp:LinkButton ID="lkBtnForget" runat="server" onclick="lkBtnForget_Click">忘记密码</asp:LinkButton>--%>
                    </span>
                </p>
                <p class="checkbox">
                    <asp:CheckBox ID="ckbSave" runat="server" CssClass="ckbsave" Text="保持我的登录状态。" />
                </p>
                <p style="text-align: center; margin: auto;">
                    <asp:Label ID="LabelMessage" Style="color: Red" runat="server" class="loginprompt" />
                </p>
                <p class="btn">
                    <%--<asp:LinkButton ID="lbtnLogin" runat="server" OnClick="lbtnLogin_Click">
                    <img src="/!images/btn_login.jpg" id="Image3" onmouseover="MM_swapImage('Image3','','/!images/btn_loginon.jpg',3)"
                        onmouseout="MM_swapImgRestore()" alt="登录" />    
                    </asp:LinkButton>--%>
                    <asp:ImageButton ID="ibtnLogin" runat="server" OnClick="lbtnLogin_Click" ImageUrl="/!images/btn_login.jpg"
                        onmouseover="MM_swapImage('ibtnLogin','','/!images/btn_loginon.jpg',3)" onmouseout="MM_swapImgRestore()"
                        alt="登录" onfocus="MM_swapImage('ibtnLogin','','/!images/btn_loginon.jpg',3)" />
                </p>
                <br />
                <p class="" style="text-align: center; margin: auto;">
                    <asp:Button ID="btnTest" runat="server" class='cancel' Text="test直接登录,开发人员专用通道，其他人请绕行，多勒个谢！"
                        OnClick="btnTest_Click" ValidationGroup="testLogin" Visible="false" />
                </p>
                <p class="clear">
                </p>
            </div>
        </div>
    </div>
    <div class="fr login_right">
        <div class="noreg_info">
            <p class="noreg">
                啊!你还没注册吗？</p>
            <p class="goregq">
                快快注册吧！分享你的喜悦~~~</p>
            <p class="newreg">
                <a href="Register.aspx">注册新用户>></a></p>
        </div>
    </div>
</asp:Content>
